import React, { Component } from 'react'
import Routers from '../router'
import store from './store'
import { BrowserRouter as Router } from 'react-router-dom'
import { LocaleProvider } from 'antd'
import zh_CN from 'antd/lib/locale-provider/zh_CN'
import Provider from 'react-redux/es/components/Provider'
import 'moment/src/locale/zh-cn'

export default class extends Component {
  render() {
    return (
      <Provider store={store}>
        <Router>
          <LocaleProvider locale={zh_CN}>
            <Routers />
          </LocaleProvider>
        </Router>
      </Provider>
    )
  }
}
